Termination w.r.t. Q of the following Term Rewriting System could be proven:
Q restricted rewrite system:
The TRS R consists of the following rules:
a__f(f(a)) → a__f(g(f(a)))
mark(f(X)) → a__f(mark(X))
mark(a) → a
mark(g(X)) → g(X)
a__f(X) → f(X)
Q is empty.
↳ QTRS
↳ RFCMatchBoundsTRSProof
Q restricted rewrite system:
The TRS R consists of the following rules:
a__f(f(a)) → a__f(g(f(a)))
mark(f(X)) → a__f(mark(X))
mark(a) → a
mark(g(X)) → g(X)
a__f(X) → f(X)
Q is empty.
Termination of the TRS R could be shown with a Match Bound [6,7] of 3. This implies Q-termination of R.
The following rules were used to construct the certificate:
a__f(f(a)) → a__f(g(f(a)))
mark(f(X)) → a__f(mark(X))
mark(a) → a
mark(g(X)) → g(X)
a__f(X) → f(X)
The certificate found is represented by the following graph.
The certificate consists of the following enumerated nodes:
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13
Node 1 is start node and node 2 is final node.
Those nodes are connect through the following edges:
- 1 to 2 labelled g_1(0), a(0), f_1(0)
- 1 to 3 labelled a__f_1(0), f_1(1)
- 1 to 4 labelled a__f_1(0), f_1(1)
- 1 to 8 labelled a__f_1(1), f_1(2)
- 2 to 2 labelled #_1(0)
- 3 to 2 labelled mark_1(0), g_1(1), a(1)
- 3 to 7 labelled a__f_1(1), f_1(2)
- 3 to 11 labelled a__f_1(2), f_1(3)
- 4 to 5 labelled g_1(0)
- 5 to 6 labelled f_1(0)
- 6 to 2 labelled a(0)
- 7 to 2 labelled mark_1(1), g_1(1), a(1)
- 7 to 7 labelled a__f_1(1), f_1(2)
- 7 to 11 labelled a__f_1(2), f_1(3)
- 8 to 9 labelled g_1(1)
- 9 to 10 labelled f_1(1)
- 10 to 2 labelled a(1)
- 11 to 12 labelled g_1(2)
- 12 to 13 labelled f_1(2)
- 13 to 2 labelled a(2)